<template>
	<view class="ss-flex gap-4">
		<view v-if="required" class="fs-32 fc-error">*</view>
		<view class="fs-28">{{ title }} <slot /></view>
	</view>
</template>

<script setup>
	const props = defineProps({
		title: {
			type: String,
			default: ''
		},
		required: {
			type: Boolean,
			default: true
		}
	})
</script>

<style>

</style>